package com.dnzx.model;

import org.apache.ibatis.type.Alias;
import org.dnzx.framework.orm.LongBaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Alias("bannerBO")
@ApiModel(value = "Banner 横幅BO")
public class BannerBO extends BaseBO {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "编号")
    private String code;
    @ApiModelProperty(value = "图片地址")
    private String url;
    @ApiModelProperty(value = "跳转地址")
    private String targetUrl;
    @ApiModelProperty(value = "类别  1-首页;字典表: BANNER _TYPE")
    private String type;
    
    // 以下是非数据库字段
    @ApiModelProperty(value = "类别名称")
    private String typeName;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTargetUrl() {
		return targetUrl;
	}

	public void setTargetUrl(String targetUrl) {
		this.targetUrl = targetUrl;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

}

